[Console] Add forced resolve to command and prittify and detail output #967
+526
−131
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The PR changes the following aspects of the
liip:imagine:cache:resolve
command:--force
option that forces re-resolution an image, regardless of cache.--help
output to make it easier to follow and clearer at a glance.--machine
option has been added that removed the title and summary from the output and only outputs machine-parsable lines.--filters
option in favor of a--filter
option (you only pass one filter per call to it, so it should not be plural).Here is the new
--help
output:Here is the output with errors:
Here is the new default behavior output (showing the image name, filter name, and resolved path):
Here is the output when forcing resolution, ignoring the cache:
Here is the output with
--machine
enabled:And finally, here is the output showing
cached
,resolved
, andfailed
items from one invocation: